package com.softtown.modules.dapai.service;


import com.github.pagehelper.PageInfo;
import com.softtown.common.service.BaseService;
import com.softtown.modules.dapai.dto.CompWarehouseOrderAddDTO;
import com.softtown.modules.dapai.dto.CompWarehouseOrderDTO;
import com.softtown.modules.dapai.dto.CompWarehouseOrderDetailDTO;
import com.softtown.modules.dapai.entity.CompMacEntity;
import com.softtown.modules.dapai.entity.CompWarehouseOrderEntity;


/**
* @Author: Ding Ya Yong
* @Description: 售后申请单
* @date: 2022/1/2 11:40
* @Param:
* @return:
*/
public interface CompWarehouseOrderService extends BaseService<CompWarehouseOrderEntity> {

    PageInfo<CompWarehouseOrderDTO> getWarehouseOrderPageList(CompWarehouseOrderDTO compWarehouseOrderDTO);

    PageInfo<CompWarehouseOrderDetailDTO> getWarehouseOrderDetailPageList(CompWarehouseOrderDetailDTO compWarehouseOrderDetailDTO);

    CompWarehouseOrderAddDTO getWarehouseOrderById(Long compId, Long id);

    void updateMacStock(CompMacEntity compMacEntity);

    void addWarehouseOrder(CompWarehouseOrderAddDTO compWarehouseOrderAddDTO);

    void updateWarehouseOrder(CompWarehouseOrderAddDTO CompWarehouseOrderAddDTO);

    void deleteWarehouseOrder(CompWarehouseOrderDTO compWarehouseOrderDTO);

}
